Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Bounding Spheres


Q3BoundingSphere_UnionPoint3D

You can use the Q3BoundingSphere_UnionPoint3D function to find the union of a bounding sphere and a three-dimensional point.

TQ3BoundingSphere *Q3BoundingSphere_UnionPoint3D (
const TQ3BoundingSphere *bSphere, 
const TQ3Point3D *pt3D, 
TQ3BoundingSphere *result);
bSphere
A pointer to a bounding sphere.
pt3D
A three-dimensional point.
result
On exit, a pointer to the union of the specified bounding sphere and the specified point.
DESCRIPTION
The Q3BoundingSphere_UnionPoint3D function returns, as its function result and in the result parameter, a pointer to the bounding sphere that is the union of the bounding sphere specified by the bSphere parameter and the three-dimensional point specified by the pt3D parameter. The result parameter can point to the memory pointed to by bSphere, thereby performing the union operation in place.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996